package org.example.L04_04_polymorphism;

//L04_pig "implements" L04_interface 接口
public class L04_pig3 implements L04_interface2 {
    public void animalSound() {
//        这里提供了animalSound()方法实现
        System.out.println("小猪说：oink-oink!");
    }
}
